/**
 *
 * Copyright 2015 RSVP Technologies Inc. All rights reserved.
 * Candidate.java
 *
 */
package com.gfinal.map.direction;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Gao Yudong (gyd@nbicc.com)
 * @date 2015-2-28
 */
public class Candidate implements Serializable {
	private static final long serialVersionUID = 3725644251512505393L;
	
	private String input = null;
	private String cityName = null;
	private int listType = 0;
	private List<Content> content = new ArrayList<Content>();
	
	public Candidate() {
		super();
	}
	
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public int getListType() {
		return listType;
	}

	public void setListType(int listType) {
		this.listType = listType;
	}

	public List<Content> getContent() {
		return content;
	}

	public void setContent(List<Content> content) {
		this.content = content;
	}
	
	public String getInput() {
		return input;
	}

	public void setInput(String input) {
		this.input = input;
	}

	@Override
	public String toString() {
		return "Candidate [input=" + input + ", cityName=" + cityName
				+ ", listType=" + listType + ", content=" + content + "]";
	}
}
